WhatsApp Web broken in Firefox all of a sudden, with "Firefox can’t establish a connection to the server at wss://w7.web.whatsapp.com/ws" (and I can't access that domain via HTTPS in Firefox either, but can in Chrome)
Categories
(Core :: Networking, defect)
Tracking
()
People
(Reporter: dholbert, Unassigned)
Details
(Keywords: top100)
Attachments
(1 file)
1.69 MB,
application/octet-stream
|
Details |
Reporter | ||
Comment 1•7 years ago
|
||
Reporter | ||
Comment 2•7 years ago
|
||
Reporter | ||
Comment 3•7 years ago
|
||
Reporter | ||
Comment 4•7 years ago
|
||
Reporter | ||
Comment 5•7 years ago
|
||
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Comment 6•7 years ago
|
||
i-meant-Firefox-specific instead-of-linux-specifc |
Reporter | ||
Comment 7•7 years ago
|
||
Comment 10•7 years ago
|
||
Updated•7 years ago
|
Reporter | ||
Comment 11•7 years ago
|
||
Updated•7 years ago
|
Comment 12•7 years ago
|
||
![]() |
||
Comment 13•6 years ago
|
||
Updated•6 years ago
|
Comment 14•5 years ago
|
||
The issue is still there with Firefox 68.3 ESR and Firefox 72 beta. Setting network.http.spdy.websockets solves the problem.
Comment 15•5 years ago
|
||
Only happens when I configure Firefox with proxy.pac (in hour company all the PCs are configured like that)
Comment 16•5 years ago
|
||
(In reply to Dimas from comment #15)
Only happens when I configure Firefox with proxy.pac (in hour company all the PCs are configured like that)
Could you try to get the http log?
https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/HTTP_logging
Thanks!
Comment 17•5 years ago
|
||
Attached the http log
In the browser console I see:
El Firefox no ha pogut establir una connexió amb el servidor a wss://web.whatsapp.com/ws. app.fff9477f997fa1246faf.js:2:783554
(something like "Firefox was unable to establish a connection to the server wss://web.whatsapp.com/ws.")
Comment 18•5 years ago
|
||
From the log, I can only tell that there was something wrong about the authentication. The proxy server just returns HTTP/1.0 407 Proxy Authentication Required
.
It seems you are using squid proxy locally. Could you try to figure out why the proxy authentication is failed?
Comment 19•5 years ago
|
||
Squid proxy log with...
Firefox / network.http.spdy.enabled.http2 true (default) / QR not loading
informatica5.trueta.intranet - - [09/Dec/2019:15:08:24 +0000] "CONNECT web.whatsapp.com:443 HTTP/1.1" 407 3755 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0" TCP_DENIED:NONE
informatica5.trueta.intranet - - [09/Dec/2019:15:08:24 +0000] "CONNECT web.whatsapp.com:443 HTTP/1.1" 407 4058 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0" TCP_DENIED:NONE
informatica5.trueta.intranet - 40447118p [09/Dec/2019:15:08:24 +0000] "CONNECT web.whatsapp.com:443 HTTP/1.1" 200 481 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0" TCP_MISS:DIRECT
informatica5.trueta.intranet - - [09/Dec/2019:15:08:24 +0000] "CONNECT web.whatsapp.com:443 HTTP/1.1" 407 4391 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0" TCP_DENIED:NONE
Firefox / network.http.spdy.enabled.http2 false / QR loading
informatica5.trueta.intranet - 40447118p [09/Dec/2019:15:16:29 +0000] "CONNECT web.whatsapp.com:443 HTTP/1.1" 200 818 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0" TCP_MISS:DIRECT
informatica5.trueta.intranet - - [09/Dec/2019:15:16:29 +0000] "CONNECT web.whatsapp.com:443 HTTP/1.1" 407 3755 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0" TCP_DENIED:NONE
Chrome / QR loading
informatica5.trueta.intranet - - [09/Dec/2019:15:09:45 +0000] "CONNECT web.whatsapp.com:443 HTTP/1.1" 407 3764 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36" TCP_DENIED:NONE
informatica5.trueta.intranet - - [09/Dec/2019:15:09:45 +0000] "CONNECT web.whatsapp.com:443 HTTP/1.1" 407 3764 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36" TCP_DENIED:NONE
informatica5.trueta.intranet - - [09/Dec/2019:15:09:45 +0000] "CONNECT web.whatsapp.com:443 HTTP/1.1" 407 4067 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36" TCP_DENIED:NONE
informatica5.trueta.intranet - - [09/Dec/2019:15:09:46 +0000] "CONNECT web.whatsapp.com:443 HTTP/1.1" 407 3764 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36" TCP_DENIED:NONE
informatica5.trueta.intranet - - [09/Dec/2019:15:09:46 +0000] "CONNECT web.whatsapp.com:443 HTTP/1.1" 407 4067 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36" TCP_DENIED:NONE
Comment 20•5 years ago
|
||
Note that to make it work, setting any of these two options to false is enough:
network.http.spdy.websockets
network.http.spdy.enabled.http2
Comment 21•5 years ago
|
||
Michal, could you take a look at this bug?
Thanks.
Comment 22•5 years ago
|
||
I probably cannot get to this bug soon. I did a quick test and I cannot reproduce it, but I've set proxy manually and my proxy uses basic authentication. Could you please check whether both proxy auto-configuration as well as ntml are needed to reproduce the issue?
Comment 23•5 years ago
|
||
(In reply to Michal Novotny [:michal] from comment #22)
Could you please check whether both proxy auto-configuration as well as ntml are needed to reproduce the issue?
I don't know if I understand what you're asking for. To do the tests I have selected the option "Automatic proxy configuration URL" pointing to the URL of the proxy.pac.
If I test with the option "Use system proxy settings" and in Windows we have the proxy configured the problem persists.
If I test with the option "Auto-detect proxy settings for this network" Firefox connects directly to Internet, without proxy.
Yes, our Squid proxy is configured with ntlm authentication. I don't have any test server to set up another proxy configuration without ntlm.
Squid ntlm configuration:
auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 30
#Pantalla emergent de navegador demanant usuari per loginar-se
auth_param basic program /usr/lib/squid3/squid_ldap_auth -v 3 -b "dc=htrueta,dc=intranet" -f uid=%s ra.trueta.intranet
auth_param basic children 5
auth_param basic realm Web-Proxy
auth_param basic credentialsttl 2 hours
Comment 24•5 years ago
|
||
(In reply to Dimas from comment #23)
I don't know if I understand what you're asking for. To do the tests I have selected the option "Automatic proxy configuration URL" pointing to the URL of the proxy.pac.
If I test with the option "Use system proxy settings" and in Windows we have the proxy configured the problem persists.
If I test with the option "Auto-detect proxy settings for this network" Firefox connects directly to Internet, without proxy.
I meant to use the same proxy that is resolved by proxy.pac, but set it manually. I.e. use "Manual proxy configuration" and set "HTTP Proxy" and "SSL Proxy" to point to your squid.
Comment 25•5 years ago
|
||
Yes, sorry, the same result configuring the proxy manually:
Comment 26•5 years ago
|
||
(screenshot https://i.imgur.com/c9co29H.png )
Comment 27•5 years ago
|
||
(In reply to Dimas from comment #26)
(screenshot https://i.imgur.com/c9co29H.png )
Please, don't use "Use this proxy server for all protocols" checkbox. See bugs 1601871 and 1577862 for details. Set just HTTP and SSL proxy.
Comment 28•5 years ago
|
||
Ok, tested setting only HTTP and SSL but the problem persist :-(
network.proxy.type;1
network.proxy.http;apis.trueta.intranet
network.proxy.http_port;8080
network.proxy.ssl;apis.trueta.intranet
network.proxy.ssl_port;8080
I tried https://www.websocket.org/echo.html and it seems to work
Comment 29•5 years ago
|
||
Thanks, so it seems the triggering combination is WS over HTTP/2 + NTLM.
Honza, given that NTLM is involved, could you please have a look?
![]() |
||
Comment 30•5 years ago
|
||
If that's so, this seems to be a duplicate of bug 1554218.
Updated•5 years ago
|
Description
•